package com.bwhx.eruler.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.ShirtSizeRule;
import com.bwhx.eruler.bean.StandardShirt;
import com.bwhx.eruler.dao.ShirtSizeRuleDAO;
import com.bwhx.eruler.service.ShirtSizeRuleService;


@Service
public class ShirtSizeRuleServiceImpl  implements ShirtSizeRuleService {
	
	@Autowired
	ShirtSizeRuleDAO shirtSizeRuleDAO;

	@Override
	public List<ShirtSizeRule> listAll() {
 		return shirtSizeRuleDAO.listAll();
	}

	@Override
	public List<StandardShirt> listAllStandardShirt() {
		return shirtSizeRuleDAO.listAllStandardShirt();
	}

}
